From: Ray Strode Date: Mon, 16 Mar 2015 11:38:04 +0000 (-0400) Subject: gdm: fix empty user list on user switching X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1450 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b1de1ada25ef155f20864447c78b0e18c71a5586;p=gnome-shell.git gdm: fix empty user list on user switching There's some vestigial code for hiding the user list that runs at the same time its parent is hidden. Only the parent should be hidden, at this point, so there's situations where the user list hides and never comes back. This commit fixes that, by deleting the vestigial code. https://bugzilla.gnome.org/show_bug.cgi?id=719418 --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index c269cb30c..6cb8d42b5 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -1086,18 +1086,11 @@ const LoginDialog = new Lang.Class({ }, _onUserListActivated: function(activatedItem) { - let tasks = [function() { - return GdmUtil.cloneAndFadeOutActor(this._userSelectionBox); - }, - function() { - this._setUserListExpanded(false); - }]; - this._user = activatedItem.user; this._updateCancelButton(); - let batch = new Batch.ConcurrentBatch(this, [new Batch.ConsecutiveBatch(this, tasks), + let batch = new Batch.ConcurrentBatch(this, [GdmUtil.cloneAndFadeOutActor(this._userSelectionBox), this._beginVerificationForItem(activatedItem)]); batch.run(); },